//
//  ZZInputView.h
//  ZZInputView_Example
//
//  Created by 郑程旭 on 2022/2/19.
//  Copyright © 2022 qq282424020. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ZZInputViewDataSource <NSObject>

/// 设置选中图片
- (UIImage *_Nullable)inputViewFinishedSelectedPhoto;

@end

@protocol ZZInputViewDelegate <NSObject>

/// 选择相册
- (void)inputViewSelectPhotoLibrary;

/// 选择相机
- (void)inputViewSelectTakePhoto;

/// 选择录制语音
- (void)inputViewSelectRecordVoice;


@end

NS_ASSUME_NONNULL_BEGIN

@interface ZZInputView : UIView

@property (nonatomic, weak) id<ZZInputViewDelegate> delegate;
@property (nonatomic, weak) id<ZZInputViewDataSource> dataSource;


- (void)reloadData;

@end

NS_ASSUME_NONNULL_END
